package apiday01.string;

public class CharAtDemo {
    public static void main(String[] args) {
        String str = "think good!";
        char c = str.charAt(4);//获取下标4对应的字符
        System.out.println(c);//k
    }
}
